Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub HandleNodePropertyChanged( _ ByVal sender As Object, _ ByVal e As PropertyChangedEventArgs _ ) |
C# | |
---|---|
protected virtual void HandleNodePropertyChanged( object sender, PropertyChangedEventArgs e ) |
Parameters
- sender
- e
- preferably a ModelChangedEventArgs that describes what changed and how
This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.
If the e argument is a ModelChangedEventArgs, this first calls OnChanged in order to raise a Changed event to notify this model's consumers.
If the System.ComponentModel.PropertyChangedEventArgs.PropertyName is the same as the NodeKeyPath, GroupNodePath, or MemberNodesPath, this automatically calls DoNodeKeyChanged, DoGroupNodeChanged, or DoMemberNodeKeysChanged, respectively.